package com.max.eshop.core;

import java.util.Date;

public class Book {
	private int bookId;
	private String description;
	private Integer price;
	private Date dateOfPublication;
	private Date dateOfReceipt;
	private String name;
	private Integer count;

	public Book(String name, Date dateOfPublication, String description,
			Date dateOfReceipt, Integer count, Integer price) {
		this.setName(name);
		this.setDateOfPublication(dateOfPublication);
		this.setDescription(description);
		this.setDateOfReceipt(dateOfReceipt);
		this.setCount(count);
		this.setPrice(price);
	}

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getDescription() {
		return description;
	}

	public Date getDateOfPublication() {
		return dateOfPublication;
	}

	public void setDateOfPublication(Date dateOfPublication) {
		this.dateOfPublication = dateOfPublication;
	}

	public Date getDateOfReceipt() {
		return dateOfReceipt;
	}

	public void setDateOfReceipt(Date dateOfRreceipt) {
		this.dateOfReceipt = dateOfRreceipt;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
